﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="AddUser.aspx.cs" Inherits="LandandSurvey.AddUser" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h2>
        Welcome to Lands and Surveys Division Plans!
    </h2>
    <hr />
    <p>
        <b>Add a new user.</b>
    </p>
    <table>
        <tr>
            <td>Username:</td>
            <td>&nbsp</td>
            <td>
                <asp:TextBox ID="txtUsername" runat="server"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtUsername" ErrorMessage="*"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td>Password:</td>
            <td>&nbsp;</td>
            <td>
                <asp:TextBox ID="txtPassword" runat="server"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="*" ControlToValidate="txtPassword"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td>Confirm Password:</td>
            <td>&nbsp;</td>
            <td>
                <asp:TextBox ID="txtConfirm" runat="server"></asp:TextBox>
                <asp:CompareValidator ID="CompareValidator1" runat="server" ControlToCompare="txtPassword" ControlToValidate="txtConfirm" ErrorMessage="Passwords must match"></asp:CompareValidator>
            </td>
        </tr>
        <tr>
            <td>Can Upload?</td>
            <td>&nbsp</td>
            <td>
                <asp:CheckBox ID="chkUpload" runat="server" /></td>
        </tr>
        <tr>
            <td>Can Edit?</td>
            <td>&nbsp</td>
            <td>
                <asp:CheckBox ID="chkEdit" runat="server" /></td>
        </tr>
        <tr>
            <td>Is Admin?</td>
            <td>&nbsp</td>
            <td>
                <asp:CheckBox ID="chkAdmin" runat="server" /></td>
        </tr>
        <tr>
            <td></td>
            <td>
                <asp:Button ID="btnSave" runat="server" Text="Save" OnClick="btnSave_Click" />
            </td>
        </tr>
        <tr>
            <td colspan="2"><span runat="server" id="lblMessage"></span></td>
        </tr>
    </table>
</asp:Content>
